package com.study.talk.netty.message.request;


import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 * 同意添加好友请求
 */
public class AcceptRequest extends TalkMessage {

    //("添加好友申请方id")
    private Integer requestUserId;

    //("是否同意")
    private Boolean accept;

    @Override
    public byte getType() {
        return MessageType.ACCEPT_REQUEST;
    }

    public AcceptRequest() {
    }

    public AcceptRequest(Integer requestUserId, Boolean accept) {
        this.requestUserId = requestUserId;
        this.accept = accept;
    }

    public Integer getRequestUserId() {
        return requestUserId;
    }

    public void setRequestUserId(Integer requestUserId) {
        this.requestUserId = requestUserId;
    }

    public Boolean getAccept() {
        return accept;
    }

    public void setAccept(Boolean accept) {
        this.accept = accept;
    }
}
